package com.xqls.biz;

import java.util.List;
import java.util.Map;

import com.xqls.bean.CostBean;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface CostBiz {
	
	public CommonResult getCostByPage(CommonPage CommonPage, HttpServletRequest request, HttpServletResponse response);
	
	public List<Map<String, Object>> queryByMap(Map<String, Object> map);
	
	public CommonResult add(CostBean costBean);//增加
	
	public CommonResult getAll(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);//分页查询全部cost
	
	public CostBean selectByKey(Integer Key);//根据主键查询
	
	public CommonResult update(CostBean costBean);//修改
	
}
